#ifndef XGE_XFONT_MGR_H_
#define XGE_XFONT_MGR_H_
#include "xge_common_config.h"
#include "xfont.h"
namespace xge{


  // Font manager which is used to create a font internally 
  // Since the font will use the FontPtr to handle the memory
  // se we leave the destroy function free .
  class FontManager {
  public:
    virtual FontPtr CreateFont( const String* resource_name ) = 0;
    virtual FontPtr CreateFont( void* buffer, size_t size ) = 0;
    virtual ~FontManager(){}
  };



}// namespace xge
#endif// XGE_XFONT_MGR_H_